package com.gxuwz.eschool.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.cardview.widget.CardView;
import androidx.fragment.app.Fragment;

import com.gxuwz.eschool.R;
import com.gxuwz.eschool.SystemtzActivity;

public class MessageFragment extends Fragment {
    public MessageFragment(){
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_message, container, false);

        CardView cardView1 =view.findViewById(R.id.cw1);

        cardView1.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(getActivity(), SystemtzActivity.class);
                startActivity(intent);
            }
        });
        return view;
    }
}
